package com.cssw.fyzb.core.dao.pay;

import com.cssw.fyzb.core.model.dodb.PayOrder;

import java.math.BigDecimal;

/**
 * @Author zhouxu
 * @create 2020-12-18 22:16
 */
public interface PayOrderDao {

    PayOrder createOrder(Long userId, Integer payAmount, String payBusi, String outTradeNo, String payWay, BigDecimal fCoinNum);

    void updateStatus(PayOrder order, String status);

    void updateStatusOrder(PayOrder order,String status,String outTradeNo);

    PayOrder findByTradeNo(String tradeNo);

}
